package com.atguigu.guli.service.edu.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.edu.entity.Teacher;
import com.atguigu.guli.service.edu.feign.OssFileFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class OssFileServiceFallBack implements OssFileFeignClient {
    @Override
    public R deleteFile(String module, String path) {
        log.warn("文件删除失败:{},{}",module,path);
        return R.error().message("删除文件失败");
    }

    @Override
    public R batchDeleteFile(String module, List<String> paths) {
        return null;
    }

    @Override
    public R test1() {
        return null;
    }

    @Override
    public R test2(String name) {
        return null;
    }

    @Override
    public R test3(Teacher teacher) {
        return null;
    }
}
